<template>
  <div>
    <div class="general">
      <div class="general-title">
      简介
      </div>
      <div class="general-content">{{data.comment}}</div>
    </div>
     <div class="other-info">
     <span>邮箱:</span> <span>{{data.email}}</span>
     
    </div>
    <div><img src="" /></div>
  </div>
</template>

<script>
export default {
  name: 'AboutMe',
  data() {
    return {
      data: {}
    }
  },
  created() {
    this.getData()
  },
  methods: {
    // 获取用户信息
    getData() {
       this.$axios.get(`/getUser`, { id: 1 }).then((val) => {
       if(val.status===200){
          this.data = val.data
       }
      })
    },
  },
}
</script>

<style scoped lang="less">
.general {
  display: flex;
  .general-title {
    width: 15%;
  }
  .general-content {
     width: 85%;
  }
  .other-info{

  }
}
</style>
